package com.panda.takeaway.entity.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.panda.takeaway.entity.po.Address;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author xdf
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderBo {
    private String number;
    private String tele;
    private Address address;
    private String shopName;
    private Integer totalPrice;
    private Date createTime;
    private List<FoodBo> foodList;
    private byte status;
    private String note;
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private Date deliveryTime;
}
